package com.kreedx.article.factory.repository;

import com.kreedx.article.factory.entity.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface ArticleRepository extends ElasticsearchRepository<Article, String> {
    Page<Article> findByTitleLike(String title, Pageable pageable);
}
